package com.atguigu.cloud.mapper;

import com.atguigu.cloud.dto.UserDTO;
import com.atguigu.cloud.entities.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
* @author Administrator
* @description 针对表【xl_user】的数据库操作Mapper
* @createDate 2024-03-03 00:29:28
* @Entity generator.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页查询用户
     *
     * @param userDTO 用户列表
     * @param page    分页参数
     * @return 分页数据
     */
    Page<UserDTO> getUserPage(UserDTO userDTO, Page<UserDTO> page);
}




